Optimal. Leaf size=36 \[ -\frac {(a+b x)^6}{7 a x^7}+\frac {b (a+b x)^6}{42 a^2 x^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {47, 37}
\begin {gather*} \frac {b (a+b x)^6}{42 a^2 x^6}-\frac {(a+b x)^6}{7 a x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rubi steps
\begin {align*} \int \frac {(a+b x)^5}{x^8} \, dx &=-\frac {(a+b x)^6}{7 a x^7}-\frac {b \int \frac {(a+b x)^5}{x^7} \, dx}{7 a}\\ &=-\frac {(a+b x)^6}{7 a x^7}+\frac {b (a+b x)^6}{42 a^2 x^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 67, normalized size = 1.86 \begin {gather*} -\frac {a^5}{7 x^7}-\frac {5 a^4 b}{6 x^6}-\frac {2 a^3 b^2}{x^5}-\frac {5 a^2 b^3}{2 x^4}-\frac {5 a b^4}{3 x^3}-\frac {b^5}{2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 2.14, size = 57, normalized size = 1.58 \begin {gather*} \frac {-6 a^5-35 a^4 b x-84 a^3 b^2 x^2-105 a^2 b^3 x^3-70 a b^4 x^4-21 b^5 x^5}{42 x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 58, normalized size = 1.61
method | result | size |
norman | \(\frac {-\frac {1}{2} b^{5} x^{5}-\frac {5}{3} a \,b^{4} x^{4}-\frac {5}{2} a^{2} b^{3} x^{3}-2 a^{3} b^{2} x^{2}-\frac {5}{6} a^{4} b x -\frac {1}{7} a^{5}}{x^{7}}\) | \(57\) |
risch | \(\frac {-\frac {1}{2} b^{5} x^{5}-\frac {5}{3} a \,b^{4} x^{4}-\frac {5}{2} a^{2} b^{3} x^{3}-2 a^{3} b^{2} x^{2}-\frac {5}{6} a^{4} b x -\frac {1}{7} a^{5}}{x^{7}}\) | \(57\) |
gosper | \(-\frac {21 b^{5} x^{5}+70 a \,b^{4} x^{4}+105 a^{2} b^{3} x^{3}+84 a^{3} b^{2} x^{2}+35 a^{4} b x +6 a^{5}}{42 x^{7}}\) | \(58\) |
default | \(-\frac {5 a \,b^{4}}{3 x^{3}}-\frac {5 a^{2} b^{3}}{2 x^{4}}-\frac {b^{5}}{2 x^{2}}-\frac {2 a^{3} b^{2}}{x^{5}}-\frac {5 a^{4} b}{6 x^{6}}-\frac {a^{5}}{7 x^{7}}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.25, size = 57, normalized size = 1.58 \begin {gather*} -\frac {21 \, b^{5} x^{5} + 70 \, a b^{4} x^{4} + 105 \, a^{2} b^{3} x^{3} + 84 \, a^{3} b^{2} x^{2} + 35 \, a^{4} b x + 6 \, a^{5}}{42 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.29, size = 57, normalized size = 1.58 \begin {gather*} -\frac {21 \, b^{5} x^{5} + 70 \, a b^{4} x^{4} + 105 \, a^{2} b^{3} x^{3} + 84 \, a^{3} b^{2} x^{2} + 35 \, a^{4} b x + 6 \, a^{5}}{42 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 61 vs.
\(2 (29) = 58\).
time = 0.19, size = 61, normalized size = 1.69 \begin {gather*} \frac {- 6 a^{5} - 35 a^{4} b x - 84 a^{3} b^{2} x^{2} - 105 a^{2} b^{3} x^{3} - 70 a b^{4} x^{4} - 21 b^{5} x^{5}}{42 x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 65, normalized size = 1.81 \begin {gather*} \frac {-21 x^{5} b^{5}-70 x^{4} b^{4} a-105 x^{3} b^{3} a^{2}-84 x^{2} b^{2} a^{3}-35 x b a^{4}-6 a^{5}}{42 x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 57, normalized size = 1.58 \begin {gather*} -\frac {\frac {a^5}{7}+\frac {5\,a^4\,b\,x}{6}+2\,a^3\,b^2\,x^2+\frac {5\,a^2\,b^3\,x^3}{2}+\frac {5\,a\,b^4\,x^4}{3}+\frac {b^5\,x^5}{2}}{x^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________